    <!-- Right Side/Main Content Start -->
    <div id="rightside">
        
        <!-- Alternative Content Box Start -->
         <div class="contentcontainer">
            <div class="contentbox">
				<div class="extrabottom">
                	<form action="index.php/allocate/index" method="post">
					<div style="display:inline;">
                    	订单标记：
                    	<select name="select">
                        	<option value="nullFlag">无</option>
                        	<option value="payFlag">已付款</option>
							<option value="balFlag">已打包</option>
                            <option value="proFlag">有纠纷</option>
                            <option value="alloFlag">已配货</option>
                        </select>
                        <input type="submit" value=" 配货预览 " class="btnalt" />
					</div>
					<div style="display:inline; float:right; margin-top:2px;">
						<input type="button" id="expexcel" value=" 导出EXCEL " class="btn" />
						<input type="button" id="update" value=" 更新数据库 " class="btn" />
					</div>
                    </form>
                </div>
			
            	<table width="100%">
                	<thead>
                    	<tr>
                        	<th width="10%">编号</th>
                            <th width="40%">商品名称</th>
                            <th width="10%">规格</th>
							<th width="10%">数量</th>
							<th width="10%">供应商</th>
							<th width="10%">货号</th>
                            <th width="10%">进价</th>
                        </tr>
                    </thead>
                    <?php if( ! empty($data)): ?>
                    <?php $n=0;?>
                    <tbody>
                    	<?php foreach($data as $d): ?>
                    	<?php if($n%2 == 0):?>
                        <tr class="alt">
                        <?php else: ?>
                    	<tr>
                        <?php endif; ?>
                        	<td><?php echo $d->GoodsNO;?></td>
                            <td><?php echo $d->GoodsName;?></td>
							<td><?php echo $d->SpecName;?></td>
                            <td><?php echo $d->SellCount;?></td>
                            <td><?php echo $d->ProviderName;?></td>
                            <td><?php echo $d->ProviderGoodsNO;?></td>
                            <td><?php echo $d->Price;?></td>
                        </tr>
                        <?php $n++;?>
                        <?php endforeach;?>
                    </tbody>
                    <?php endif;?>
                </table>
                <div style="clear: both;"></div>
            </div>
            </form>
            
        </div>
        <!-- Alternative Content Box End -->